# ***Please don`t fork me on github***

# Libre Homework Git
***This library was created so that the teacher could quickly and conveniently set homework to students in electronic form.***
***The library works through the Git system for quick and convenient synchronizing homework***
![Working](img/Working.png)
### Download:
```
git clone https://notabug.org/FreedomCoder/LibLHG.git
```
### Build:
**The following libraries are needed for compilation: Libgit2, Openssl, Libxml2**
#### Build command:
```
cd LibLHG
g++ -g -fPIC -shared src/LHG_Crypt.c src/LHG_XML.c src/LHG_Git.c -o liblhg.so -I/usr/include/libxml2
```
### Installation of the library:
```
sudo mkdir -p /usr/include/liblhg
sudo cp include/LHG_Crypt.h /usr/include/liblhg/LHG_Crypt.h
sudo cp include/LHG_Git.h /usr/include/liblhg/LHG_Git.h
sudo cp include/LHG_XML.h /usr/include/liblhg/LHG_XML.h
sudo cp liblhg.so /usr/lib/liblhg.so
```

